package game;

public class ChancePair<T> {
	private int chance;
	private T value;

	public ChancePair(T value, int chance) {
		this.value = value;
		this.chance = chance;
	}

	public T getValue() {
		return value;
	}

	public int getChance() {
		return chance;
	}

	@Override
	public String toString() {
		return "[" + value + ", " + chance + "]";
	}
}